package model

// User [...]
type User struct {
	ID        int    `gorm:"primary_key;column:id;type:int(10) unsigned;not null" json:"-"`
	Name      string `gorm:"index:name_sex_age_index;column:name;type:varchar(100)" json:"name"`
	Sex       string `gorm:"index:name_sex_age_index;column:sex;type:varchar(100)" json:"sex"`
	Age       int    `gorm:"index:name_sex_age_index;column:age;type:int(11)" json:"age"`
	UpdatedAt int    `gorm:"column:updated_at;type:int(50)" json:"updated_at"`
	CreatedAt int    `gorm:"column:created_at;type:int(50)" json:"created_at"`
	Phone     string `gorm:"column:phone;type:varchar(11)" json:"phone"`
}
